gtk4.git
10 years agoplaces sidebar: Plug a small memory leak
Matthias Clasen [Sun, 27 Mar 2016 14:59:59 +0000 (10:59 -0400)]
places sidebar: Plug a small memory leak

_gtk_trash_moniotr_get_icon is transfer full, so we have
to unref the icon.

10 years agoGtkClipboard: fix a typo
Cosimo Cecchi [Sun, 27 Mar 2016 15:39:44 +0000 (08:39 -0700)]
GtkClipboard: fix a typo

10 years agoGtkCssSection: remove duplicated documentation
Cosimo Cecchi [Sun, 27 Mar 2016 15:35:13 +0000 (08:35 -0700)]
GtkCssSection: remove duplicated documentation

Fixes a build time warning.

10 years agoscale: fix marks node position for scales with value
Cosimo Cecchi [Sun, 27 Mar 2016 05:36:12 +0000 (22:36 -0700)]
scale: fix marks node position for scales with value

We should only count the value node as the first/last one if its
position matches.

10 years agorange: use gadget pointers for grab/mouse locations
Cosimo Cecchi [Sun, 27 Mar 2016 03:50:59 +0000 (20:50 -0700)]
range: use gadget pointers for grab/mouse locations

Simplify code and remove the mouse location indirection.

10 years agoscale: remove impossible case
Cosimo Cecchi [Sun, 27 Mar 2016 02:11:41 +0000 (19:11 -0700)]
scale: remove impossible case

We only create the gadget when the markup is not empty, so we don't
need to check again here.

10 years agoscale: cache pango layouts for mark labels
Cosimo Cecchi [Sun, 27 Mar 2016 02:07:36 +0000 (19:07 -0700)]
scale: cache pango layouts for mark labels

Constantly creating pango layouts while drawing means that animations
will be slow. Instead, cache the pango layout in the mark structure.

10 years agoAdd an index for 3.22 api additions
Matthias Clasen [Sun, 27 Mar 2016 03:32:45 +0000 (23:32 -0400)]
Add an index for 3.22 api additions

10 years agoAdd a function to get the selection of a clipboard
Matthias Clasen [Sun, 27 Mar 2016 03:30:21 +0000 (23:30 -0400)]
Add a function to get the selection of a clipboard

This was requested in
http://bugzilla.gnome.org/show_bug.cgi?id=730821

10 years agoRemove private clipboard api from public headers
Matthias Clasen [Sun, 27 Mar 2016 03:17:53 +0000 (23:17 -0400)]
Remove private clipboard api from public headers

10 years agofilter model: Mark property nicks and blurbs for translation
Matthias Clasen [Sat, 26 Mar 2016 22:59:02 +0000 (18:59 -0400)]
filter model: Mark property nicks and blurbs for translation

Better descriptions are not going to happen... might as well
admit it.

10 years agoDrop some more code
Matthias Clasen [Sat, 26 Mar 2016 22:53:55 +0000 (18:53 -0400)]
Drop some more code

This ifdefed out function was only used in the code I just nuked,
so it can go as well.

10 years agofile chooser: Drop unused code
Matthias Clasen [Sat, 26 Mar 2016 22:52:04 +0000 (18:52 -0400)]
file chooser: Drop unused code

We've never restored filechooser positions, and we aren't going to.

10 years agowayland: Get min/max keycode from xkb keymap
Matthias Clasen [Sat, 26 Mar 2016 22:48:27 +0000 (18:48 -0400)]
wayland: Get min/max keycode from xkb keymap

Instead of hardcoding 8/255 here.

10 years agoDrop irritating FIXMEs in docs
Matthias Clasen [Sat, 26 Mar 2016 22:39:39 +0000 (18:39 -0400)]
Drop irritating FIXMEs in docs

There is nothing to fix here, so don't make gnome-builder pick
these lines up for its todo list.

10 years agoStop using pango_split_file_list
Matthias Clasen [Sat, 26 Mar 2016 22:18:50 +0000 (18:18 -0400)]
Stop using pango_split_file_list

Add a copy of this deprecated utility in gtkutils.c and use
it instead of the pango API.

10 years agoSplit off copied pango utils in their own source
Matthias Clasen [Sat, 26 Mar 2016 22:12:16 +0000 (18:12 -0400)]
Split off copied pango utils in their own source

This will make it easier to use them in more than one place.

10 years agoRevert "window: Remove suspicious branch"
Matthias Clasen [Sat, 26 Mar 2016 21:32:37 +0000 (17:32 -0400)]
Revert "window: Remove suspicious branch"

This reverts commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2.

Bisection showed that this commit caused emacs windows to shrink
to a small size when first shown.

10 years agowayland: Add debug output for pixel formats
Matthias Clasen [Sat, 26 Mar 2016 20:08:01 +0000 (16:08 -0400)]
wayland: Add debug output for pixel formats

Use GDK_DEBUG=misc to see information about wl_shm pixel formats
supported by the compositor.

10 years agoDeprecate gdk_visual_get_colormap_size
Matthias Clasen [Sat, 26 Mar 2016 19:15:28 +0000 (15:15 -0400)]
Deprecate gdk_visual_get_colormap_size

Since we don't have API for colormaps anymore, this is not
a useful function.

10 years agoDeprecate gdk_visual_get_byte_order
Matthias Clasen [Sat, 26 Mar 2016 19:06:10 +0000 (15:06 -0400)]
Deprecate gdk_visual_get_byte_order

This function is only useful when working with XImages,
and is not meaningfully implemented in other backends.

10 years agowayland: Fix up visual implementation
Matthias Clasen [Sat, 26 Mar 2016 18:58:48 +0000 (14:58 -0400)]
wayland: Fix up visual implementation

Don't return visuals that don't match the requested depth
and/or visual type.

10 years agoAdd some more visual tests
Matthias Clasen [Sat, 26 Mar 2016 18:56:36 +0000 (14:56 -0400)]
Add some more visual tests

These are just basic tests to ensure that the visual implementation
of a backend is sound.

10 years agoDeprecate gdk_visual_get_bits_per_rgb
Matthias Clasen [Sat, 26 Mar 2016 18:20:23 +0000 (14:20 -0400)]
Deprecate gdk_visual_get_bits_per_rgb

This function is pretty useless, since the Wayland backend returns
0 for this, and the Windows backend 42 (!).

10 years agoAdd version macros for 3.22
Matthias Clasen [Sat, 26 Mar 2016 18:08:10 +0000 (14:08 -0400)]
Add version macros for 3.22

10 years agorange: Simplify highlight allocation
Matthias Clasen [Sat, 26 Mar 2016 17:50:42 +0000 (13:50 -0400)]
range: Simplify highlight allocation

Since we are really only interested in the center point of the
slider allocation, the pre-computed slider geometry is perfectly
fine, just use it always. This avoids the complication with
gadget visibility.

10 years agorange: Avoid miscalculating highlight allocation
Matthias Clasen [Sat, 26 Mar 2016 14:50:00 +0000 (10:50 -0400)]
range: Avoid miscalculating highlight allocation

The slider gadget may be turned invisible as side-effect of
gtk_range_calc_slider(). If that happens,
gtk_css_gadget_get_content_allocation() returns { 0, 0, 0, 0},
which leads us to calculate a negative allocation for the highlight
node. Avoid this, by just reusing our already calculated slider
allocation in this case (it is not technically the same as the
content, allocation, but the difference hardly matter here.

https://bugzilla.gnome.org/show_bug.cgi?id=764022

10 years agoAdd a test for the system rgba visual
Matthias Clasen [Sat, 26 Mar 2016 14:09:19 +0000 (10:09 -0400)]
Add a test for the system rgba visual

The main point of this test is to ensure that the pixel_details
getters work as expected.

10 years agowayland: Fully initialize the visual
Matthias Clasen [Sat, 26 Mar 2016 14:10:16 +0000 (10:10 -0400)]
wayland: Fully initialize the visual

The pixel details (mask, shift and precision) are supposed to
be filled in for TrueColor visuals.

10 years agoMake gdk_visual_get_*_pixel_details work again
Matthias Clasen [Sat, 26 Mar 2016 13:32:51 +0000 (09:32 -0400)]
Make gdk_visual_get_*_pixel_details work again

These functions are supposed to return the numbers of consecutive
1 bits in each components mask as precision. However, due to a
copy-paste mistake when this code was moved around in
commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6, the precision
was always reported as zero. This affects only a few applications
that directly set window background on X11 windows, such as emacs.

https://bugzilla.gnome.org/show_bug.cgi?id=764210

10 years agoUpdate Catalan translation
Jordi Mas [Sat, 26 Mar 2016 07:10:28 +0000 (08:10 +0100)]
Update Catalan translation

10 years agoHighContrastInverse: Fix suggested-action colors
Matthias Clasen [Sat, 26 Mar 2016 02:43:57 +0000 (22:43 -0400)]
HighContrastInverse: Fix suggested-action colors

Choose a suitable foreground color instead of hardcoding white.

https://bugzilla.gnome.org/show_bug.cgi?id=764170

10 years agogtk3-demo: Show more button styles
Matthias Clasen [Sat, 26 Mar 2016 02:36:50 +0000 (22:36 -0400)]
gtk3-demo: Show more button styles

Add examples for suggested-action and destructive-action
buttons in the style classes example.

10 years agogtk3-demo: Rename "CSS Theming" group
Matthias Clasen [Sat, 26 Mar 2016 02:39:53 +0000 (22:39 -0400)]
gtk3-demo: Rename "CSS Theming" group

Call it just "Themeing" to avoid the repetition of CSS.

10 years agoUpdated Hungarian translation
Balázs Úr [Sat, 26 Mar 2016 00:47:32 +0000 (00:47 +0000)]
Updated Hungarian translation

10 years agoGDK W32: Optimize clipboard handling a bit
Руслан Ижбулатов [Sat, 19 Mar 2016 09:49:56 +0000 (09:49 +0000)]
GDK W32: Optimize clipboard handling a bit

Delay as long as possible before calling OpenClipboard(),
call CloseClipboard() as quickly as possible after that.
Don't call OpenClipboard() when we don't need to (for example,
we don't need to open clipboard to call GetClipboardOwner()).

Also, print out actual W32 error code in some cases where it
was not printed before.

https://bugzilla.gnome.org/show_bug.cgi?id=763907

10 years agoGDK W32: Print error code along with the error message
Руслан Ижбулатов [Mon, 21 Mar 2016 16:25:19 +0000 (16:25 +0000)]
GDK W32: Print error code along with the error message

Error codes can be easily looked up in an error code list
and/or googled up. Error messages, while descriptive, often
describe the wrong thing, and the messages themselves are not
part of the documentation of a function, unlike error codes.
It would be preferable to have the code, or both.

https://bugzilla.gnome.org/show_bug.cgi?id=763913

10 years agoGDK W32: Print more debug info about events
Руслан Ижбулатов [Sat, 19 Mar 2016 11:59:13 +0000 (11:59 +0000)]
GDK W32: Print more debug info about events

1) Print timestamps for events
2) Print wParam and lParam (in hex form) for messages

https://bugzilla.gnome.org/show_bug.cgi?id=763913

10 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 25 Mar 2016 20:27:21 +0000 (21:27 +0100)]
Updated POTFILES.in

10 years agoinspector: add slider for adjusting the font scale
Christoph Reiter [Fri, 25 Mar 2016 12:42:31 +0000 (13:42 +0100)]
inspector: add slider for adjusting the font scale

https://bugzilla.gnome.org/show_bug.cgi?id=761435

10 years agostack switcher: Add a missing include
Matthias Clasen [Fri, 25 Mar 2016 19:52:22 +0000 (15:52 -0400)]
stack switcher: Add a missing include

10 years agodnd: Move GtkDragDest to a separate file
Matthias Clasen [Sun, 13 Dec 2015 23:43:10 +0000 (18:43 -0500)]
dnd: Move GtkDragDest to a separate file

This follows what was done for GtkDragSource in
415030d25f2552d3937ee3c394c50d22c5382982 and shaves another
500 lines off gtkdnd.c.

10 years agoUpdated German translation
Wolfgang Stöggl [Fri, 25 Mar 2016 18:20:27 +0000 (18:20 +0000)]
Updated German translation
(cherry picked from commit 5e5372ce74cfd06498dee1938f0249d1039ede16)

10 years agoUpdated German translation
Wolfgang Stöggl [Fri, 25 Mar 2016 18:17:41 +0000 (18:17 +0000)]
Updated German translation
(cherry picked from commit c08f4bd2a93e779158ed221c7ea75a9df8ffd35f)

10 years agogtkaboutdialog: don't break ABI in GtkLicense enum
Mohammed Sadik [Fri, 25 Mar 2016 12:38:07 +0000 (18:08 +0530)]
gtkaboutdialog: don't break ABI in GtkLicense enum

As the elements in the enum are not explicitly numbered, inserting an
element between some other elements shall change the values of elements
after the insertion. So append the new element at the end.

Anyway, no code should rely on the position of an element in an enum.

https://bugzilla.gnome.org/show_bug.cgi?id=763850

10 years agoAdd a css node test for scales
Matthias Clasen [Fri, 25 Mar 2016 17:12:00 +0000 (13:12 -0400)]
Add a css node test for scales

10 years agopopover: raise when showing
Olivier Fourdan [Thu, 24 Mar 2016 10:32:24 +0000 (11:32 +0100)]
popover: raise when showing

Some other widget might have mapped and raised another child window of
the toplevel in the meantime, causing the popover window to be covered.

Raise the popover window to avoid the issue.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=763627

10 years agoFix Catalan translation
Jordi Mas [Fri, 25 Mar 2016 13:27:16 +0000 (14:27 +0100)]
Fix Catalan translation

10 years agoUpdated Italian translation
Milo Casagrande [Fri, 25 Mar 2016 10:58:30 +0000 (10:58 +0000)]
Updated Italian translation
(cherry picked from commit be624e71f43ffe8ec5351fbce575388561c5a240)

10 years agotrashmonitor: change trash monitoring process
Razvan Chitu [Mon, 14 Mar 2016 09:55:00 +0000 (11:55 +0200)]
trashmonitor: change trash monitoring process

The trash is monitored for state changes - going from empty to non-empty and the
other way round. Monitoring is done by handling change signals from a regular
file monitor. On each signal, an enumeration of the trash contents is started in
order to see if it is empty or not. This causes issues when many files are
trashed, because the gvfs trash backend is flooded with enumeration requests,
resulting in CPU usage spikes. In order to fix this, the "item-count" attribute
of the trash should be queried instead.

Replace asynchronous enumeration with asynchronous information query and update
the trash state based on the "item-count" attribute. Emit state change signal
only when the state actually changes.

https://bugzilla.gnome.org/show_bug.cgi?id=763600

10 years agogtkaboutdialog: Add support for GNU Affero GPLv3+
Mohammed Sadik [Fri, 18 Mar 2016 14:18:29 +0000 (19:48 +0530)]
gtkaboutdialog: Add support for GNU Affero GPLv3+

Add support for GNU Affero GPLv3 (or later) to GtkLicense enum

https://bugzilla.gnome.org/show_bug.cgi?id=763850

10 years agoadd a css style test for font: smaller
Matthias Clasen [Thu, 24 Mar 2016 12:24:45 +0000 (08:24 -0400)]
add a css style test for font: smaller

10 years ago3.20.1
Matthias Clasen [Fri, 25 Mar 2016 01:34:35 +0000 (21:34 -0400)]
3.20.1

10 years agoUpdate css node test for GtkSwitch changes
Matthias Clasen [Fri, 25 Mar 2016 02:27:12 +0000 (22:27 -0400)]
Update css node test for GtkSwitch changes

10 years agoRevert "add a css style test for font: smaller"
Matthias Clasen [Fri, 25 Mar 2016 01:18:27 +0000 (21:18 -0400)]
Revert "add a css style test for font: smaller"

This reverts commit a4ed154b037aaf03f8c166a711c326a030225eed.

The misparsing that is tested here will not be fixed in 3.20,
so keep this test out of the stable branch.

10 years agoUpdated German translation
Mario Blättermann [Fri, 25 Mar 2016 00:41:41 +0000 (00:41 +0000)]
Updated German translation

10 years agomenu: Clip children to view window
Benjamin Otte [Thu, 24 Mar 2016 18:50:45 +0000 (19:50 +0100)]
menu: Clip children to view window

Don't overdraw the arrow allocations.

https://bugzilla.gnome.org/show_bug.cgi?id=764118

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Thu, 24 Mar 2016 19:17:19 +0000 (20:17 +0100)]
Updated Basque language

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Thu, 24 Mar 2016 19:15:34 +0000 (20:15 +0100)]
Updated Basque language

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Thu, 24 Mar 2016 19:14:02 +0000 (20:14 +0100)]
Updated Basque language

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Thu, 24 Mar 2016 18:59:24 +0000 (19:59 +0100)]
Updated Basque language

10 years agoHigh Contrast Inverse: switches
Jakub Steiner [Thu, 24 Mar 2016 15:43:20 +0000 (16:43 +0100)]
High Contrast Inverse: switches

- make sure both non active and active states are contrasty

https://bugzilla.gnome.org/show_bug.cgi?id=763802

10 years agoHigh Contrast Inverse: set contrasty selected items
Jakub Steiner [Thu, 24 Mar 2016 15:35:19 +0000 (16:35 +0100)]
High Contrast Inverse: set contrasty selected items

- selected bg was set lighter without appropriate fg color

https://bugzilla.gnome.org/show_bug.cgi?id=763804

10 years agoHigh Contrast Inverse: scale trough fix
Jakub Steiner [Thu, 24 Mar 2016 15:32:01 +0000 (16:32 +0100)]
High Contrast Inverse: scale trough fix

- make the trough more visible for HCI

https://bugzilla.gnome.org/show_bug.cgi?id=763805

10 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 24 Mar 2016 14:35:11 +0000 (15:35 +0100)]
Updated POTFILES.skip

10 years agoadd a css style test for font: smaller
Matthias Clasen [Thu, 24 Mar 2016 12:24:45 +0000 (08:24 -0400)]
add a css style test for font: smaller

10 years agoAdwaita: avoid sizing transition on the scale...
Lapo Calamandrei [Thu, 24 Mar 2016 12:15:23 +0000 (13:15 +0100)]
Adwaita: avoid sizing transition on the scale...

... since it ends up jumpy.

10 years agoAdwaita: placesview connect to server label padding
Lapo Calamandrei [Thu, 24 Mar 2016 10:33:33 +0000 (11:33 +0100)]
Adwaita: placesview connect to server label padding

adds some padding to the "connect to server" label

10 years agoAdwaita: fix menu scroll arrows positioning
Lapo Calamandrei [Thu, 24 Mar 2016 10:25:52 +0000 (11:25 +0100)]
Adwaita: fix menu scroll arrows positioning

adresses the style part of
https://bugzilla.gnome.org/show_bug.cgi?id=764118

10 years agoUpdated Slovak translation
Dušan Kazik [Thu, 24 Mar 2016 06:51:38 +0000 (06:51 +0000)]
Updated Slovak translation

10 years agoswitch: An active switch is :checked
Benjamin Otte [Wed, 23 Mar 2016 17:14:57 +0000 (18:14 +0100)]
switch: An active switch is :checked

Fix an oversight that should have happened in the gadget refactoring:
An active switch should be :checked, just like togglebuttons,
checkbuttons, etc.

10 years agoquartz: fix pixelated image surfaces in retina/hidpi mode
Christoph Reiter [Wed, 16 Mar 2016 18:25:30 +0000 (19:25 +0100)]
quartz: fix pixelated image surfaces in retina/hidpi mode

gtk+ currently depends on the scaling factor and the cairo device scale
of both the backend surfaces and image surfaces to be equal.

Until now we didn't apply a cairo device scale at all and depended on the
automatic scaling of CGContexts. This works when drawing with cairo but
fails in case of image surfaces, which get requested at a too small size.

To make the quartz backend behave more like the X11 one, set the cairo device
scale on the surface in gdk_quartz_ref_cairo_surface(). As this conflicts
with the default scaling done by CGContext (we would get double scaling)
undo the CGContext scaling using CGContextScaleCTM().

This patch is based on the following patches by Brion Vibber:
    https://bugzilla.gnome.org/show_bug.cgi?id=740199#c4
    https://bugs.freedesktop.org/show_bug.cgi?id=69796#c4

https://bugzilla.gnome.org/show_bug.cgi?id=763779

10 years agoUpdated Russian translation
Stas Solovey [Wed, 23 Mar 2016 15:23:08 +0000 (15:23 +0000)]
Updated Russian translation

10 years agoUpdated Galician translation
Fran Dieguez [Wed, 23 Mar 2016 11:20:59 +0000 (11:20 +0000)]
Updated Galician translation

10 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 22 Mar 2016 21:28:03 +0000 (22:28 +0100)]
Updated Slovenian translation

10 years agoUpdated Russian translation
Stas Solovey [Tue, 22 Mar 2016 20:19:44 +0000 (20:19 +0000)]
Updated Russian translation

10 years agoRun a11y tests with csd for make check
Matthias Clasen [Tue, 22 Mar 2016 18:55:55 +0000 (14:55 -0400)]
Run a11y tests with csd for make check

I've made this change for installed tests a while ago. It doesn't
make sense for distcheck to do it differently.

10 years agoinspector: Look for themes in system data dirs
Matthias Clasen [Tue, 22 Mar 2016 12:20:20 +0000 (08:20 -0400)]
inspector: Look for themes in system data dirs

This matches what GTK+ does now.

10 years agoFix an accidentally deleted line
Matthias Clasen [Tue, 22 Mar 2016 12:19:19 +0000 (08:19 -0400)]
Fix an accidentally deleted line

Not sure when this went missing, just fix the formatting.

10 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 22 Mar 2016 11:28:57 +0000 (11:28 +0000)]
Updated Spanish translation

10 years agoUpdated Slovak translation
Dušan Kazik [Tue, 22 Mar 2016 06:35:00 +0000 (06:35 +0000)]
Updated Slovak translation

10 years agoAdded Bulgarian translation
Zahari Yurukov [Tue, 22 Mar 2016 05:19:04 +0000 (07:19 +0200)]
Added Bulgarian translation

10 years agoLoad theme settings from the right location
Matthias Clasen [Thu, 17 Mar 2016 04:57:45 +0000 (00:57 -0400)]
Load theme settings from the right location

When loading a per-theme settings.ini file, look for it in
the same directory where we found the gtk.css file for the
theme. Previously, we were always looking in
$prefix/share/themes/THEME/gtk-3.0/, even if the css was
loaded from somewhere else.

https://bugzilla.gnome.org/show_bug.cgi?id=641354

10 years agoAlso look in system data dirs for themes
Matthias Clasen [Thu, 17 Mar 2016 04:32:53 +0000 (00:32 -0400)]
Also look in system data dirs for themes

With this change, we now look in
$XDG_DATA_HOME/themes/THEME/gtk-3.x
$HOME/.themes/THEME/gtk-3.x
$XDG_DATA_DIRS/themes/THEME/gtk-3.x
GTK_DATA_PREFIX/themes/THEME/gtk-3.x

https://bugzilla.gnome.org/show_bug.cgi?id=641354

10 years agowayland: avoid dropping surfaces when possible
Christian Hergert [Thu, 17 Mar 2016 06:35:20 +0000 (23:35 -0700)]
wayland: avoid dropping surfaces when possible

If the configure-event gives us the same size as we had before,
which is common for animation resizes, then try to keep the
existing buffer around. This saves us a memfd_create() syscall
on every frame.

https://bugzilla.gnome.org/show_bug.cgi?id=763350

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 21 Mar 2016 21:20:26 +0000 (22:20 +0100)]
Updated Danish translation

10 years agoAdwaita: simplify treeview:drop(active) code
Lapo Calamandrei [Mon, 21 Mar 2016 18:42:54 +0000 (19:42 +0100)]
Adwaita: simplify treeview:drop(active) code

10 years agogtk-demo: Improve markup demo
Matthias Clasen [Wed, 16 Mar 2016 18:03:44 +0000 (14:03 -0400)]
gtk-demo: Improve markup demo

Add squiggly underlines and background, and make the markup editable.

https://bugzilla.gnome.org/show_bug.cgi?id=763741

10 years agotextview: Track differences between ink and logical rects
Benjamin Otte [Tue, 15 Mar 2016 23:35:45 +0000 (00:35 +0100)]
textview: Track differences between ink and logical rects

This way, we can ensure that we queue redraws on the full ink rect. This
is particularly visible for squiggly underlines in spell checking.

https://bugzilla.gnome.org/show_bug.cgi?id=763741

10 years agoUpdated Greek translation
Tom Tryfonidis [Mon, 21 Mar 2016 17:21:09 +0000 (17:21 +0000)]
Updated Greek translation

10 years agoUpdated Swedish translation
Anders Jonsson [Mon, 21 Mar 2016 16:25:41 +0000 (16:25 +0000)]
Updated Swedish translation

10 years agowayland: Rename internal functions with misleading naming
Carlos Garnacho [Thu, 17 Mar 2016 17:38:40 +0000 (18:38 +0100)]
wayland: Rename internal functions with misleading naming

Now that GdkWaylandDeviceData is gone, the functions prefixed
"gdk_wayland_device_" and taking a GdkWaylandSeat as first
parameter feel out of place. Renaming those makes it more obvious
that it's seat functions.

https://bugzilla.gnome.org/show_bug.cgi?id=763859

10 years agowayland: Remove GdkWaylandDataDevice typedef
Carlos Garnacho [Fri, 18 Mar 2016 13:11:50 +0000 (14:11 +0100)]
wayland: Remove GdkWaylandDataDevice typedef

It's no longer used.

https://bugzilla.gnome.org/show_bug.cgi?id=763859

10 years agowayland: Replace all remaining uses of GdkWaylandDeviceData
Carlos Garnacho [Thu, 17 Mar 2016 17:32:03 +0000 (18:32 +0100)]
wayland: Replace all remaining uses of GdkWaylandDeviceData

And use GdkWaylandSeat in all of those. The variable names have also
been updated.

https://bugzilla.gnome.org/show_bug.cgi?id=763859

10 years agowayland: Remove GdkWaylandDeviceData pointer in GdkWaylandDevice
Carlos Garnacho [Thu, 17 Mar 2016 17:03:26 +0000 (18:03 +0100)]
wayland: Remove GdkWaylandDeviceData pointer in GdkWaylandDevice

It's the same than gdk_device_get_seat() nowadays. Also, rename the
usages of GdkWaylandDeviceData to GdkWaylandSeat in the functions
affected by the removal.

https://bugzilla.gnome.org/show_bug.cgi?id=763859

10 years agoFix the build
Matthias Clasen [Mon, 21 Mar 2016 16:10:44 +0000 (12:10 -0400)]
Fix the build

10 years agoshortcutswindow: Make the search button square
Matthias Clasen [Tue, 15 Mar 2016 11:51:48 +0000 (07:51 -0400)]
shortcutswindow: Make the search button square

Add the image-button style class to this button (this doesn't
work automatically here, since this is a toggle button).

https://bugzilla.gnome.org/show_bug.cgi?id=763604

10 years agoAdwaita: Update treeview drop target styling
Matthias Clasen [Sun, 20 Mar 2016 23:41:31 +0000 (19:41 -0400)]
Adwaita: Update treeview drop target styling

This reinstates the between-the-rows highlight that was lost
at some point.

https://bugzilla.gnome.org/show_bug.cgi?id=763808

10 years agotreeview: Update drop target highlighting
Matthias Clasen [Sun, 20 Mar 2016 23:31:23 +0000 (19:31 -0400)]
treeview: Update drop target highlighting

Stop using the .dnd style class, and instead use the
:drop(active) pseudo state, together with .before and .after
classes.

https://bugzilla.gnome.org/show_bug.cgi?id=763808

10 years agoquartz: Fix up dnd code
Matthias Clasen [Sun, 20 Mar 2016 22:09:45 +0000 (18:09 -0400)]
quartz: Fix up dnd code

Copy changes to drag highlight drawing from gtkdnd.c to gtkdnd-quartz.c.

https://bugzilla.gnome.org/show_bug.cgi?id=763808